package hotel.base.oversea.constant.quartz;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 定时器美团url枚举
 */
public class UrlMtEnums {

    @Getter
    @AllArgsConstructor
    public enum hotelIds {
        GET("获取美团酒店ids", "/mtHotel/getMtHotelIdsData"),
        SAVE("保存酒店ids", "/mtHotel/saveHotelIds");
        private final String name;
        private final String value;
    }

    @Getter
    @AllArgsConstructor
    public enum hotelDetail {
        GET_PAGE_HOTEL_IDS("内部接口分页获取酒店ids", "/mtHotel/getPageHotelIds"),
        GET("批量获取酒店详情", "/mtHotel/getMtHotelDetail"),
        GET_FOR("批量获取酒店详情", "/mtHotel/getMtHotelDetailForJob"),
        SAVE("批量保存酒店详情", "/mtHotel/saveHotelInfos");
        private final String name;
        private final String value;
    }

    @Getter
    @AllArgsConstructor
    public enum hotelRoom {
        GET_PAGE_HOTEL_IDS("分页获取酒店ids", "/mtHotel/getPageHotelIds"),
        GET("获取酒店房型", "/mtHotelRoom/getMtHotelRoom"),
        SAVE("保存酒店房型", "/mtHotelRoom/saveRoomData");
        private final String name;
        private final String value;
    }

    @Getter
    @AllArgsConstructor
    public enum hotelOrder {
        UPDATE_REMINDER_ORDER("更新订单催单次数", "/mtHotelOrder/updateReminderCount"),
        QUERY_DEALING_ORDER_FOR_REMINDER("分页获取处理中订单（确认中，取消中）做催单", "/mtHotelOrder/getPageHotelOrderDealingForReminder"),
        REMINDER("催单", "/mtHotelOrder/orderHotelReminder");
        private final String name;
        private final String value;
    }

    @Getter
    @AllArgsConstructor
    public enum hotelOrderQuery {
        QUERY_DEALING_ORDER("分页获取处理中订单（确认中，取消中）", "/mtHotelOrder/getPageHotelOrderDealing"),
        ORDER_QUERY("查询订单", "/mtHotelOrder/orderQueryBatch"),
        ORDER_CHECK_UPDATE("符合条件的订单进行更新", "/mtHotelOrder/jobQueryOrderCheckSave");
        private final String name;
        private final String value;
    }

    @Getter
    @AllArgsConstructor
    public enum findMiss {
        CHECK_MISS("查询没有被推送给第三方携程的", "/mtNotifyShortLog/checkMiss");
        private final String name;
        private final String value;
    }

    @Getter
    @AllArgsConstructor
    public enum mtDealNotifyGoods {
        DEAL_GOODS("判断更新产品价格和更新产品规格", "/mtHotelGoods/saveDealGoodsFromJob"),
        QUERY_SALE_ROOM("查询携程售卖房型根据美团goodsid和美团酒店id", "/switchCreateRoom/getSaleRoomByMtGoodsId"),
        MODIFY_PRICES_BATCH_ABOUT_HOTEL("批量推送价格携程接口一个酒店为单位", "/switchCreateRoom/modifyPrices");
        private final String name;
        private final String value;
    }

    @Getter
    @AllArgsConstructor
    public enum mtDealNotifyRoom {
        DEAL_ROOM("处理通知的房态变更通知数据", "/mtHotelRoom/dealNotifyRoomFromJob");
        private final String name;
        private final String value;
    }

    @Getter
    @AllArgsConstructor
    public enum findUpdateGoods {
        FIND("检查上架的美团酒店是否存在上下线", "/mtHotelGoods/findMtGoodsCheckUpDown"),
        UPDATE_HOTELS("更新酒店信息", "/mtHotel/updateBasicHotelDetailForJob"),
        PART_TIME_FIND("定时检查上架的产品是否存在失效", "/mtHotelGoods/checkTenHotelsGoodsFailureForJob"),
        UPDATE_SAVE_BASIC_INFO("保存更新产品静态信息", "/mtHotelGoods/popBasicSaveMtGoodsInfoJob"),
        UPDATE_SAVE_HOTEL_BASIC_INFO("保存更新酒店静态信息", "/mtHotel/saveBasicHotelDetailForJob"),
        HHB_DOWN_HOTELS("hhb主动下线的酒店id", "/mtHotel/getHhbDownHotels"),
        UPDATE_UP("修改推送通知携程酒店上线", "/mtHotel/updateUp");
        private final String name;
        private final String value;
    }


    @Getter
    @AllArgsConstructor
    public enum compareHotel {
        GET_NOT_CREATE_COMPARE_HOTEL("获取所有有效的未创建子酒店的酒店数据（数据来源对比表）", "/compareHotel/findNotCreateMtHotelId");
        private final String name;
        private final String value;
    }
}
